package entity;

public class Community {
    private int id;
    private String projectname;
    private String customer;
    private String staff;
    private String servicenum;
    private String info;
    private  String starttime;
    private String finishtime;
    private String explain;


public Community(){

}

    public Community(String projectname, String info, String customer, String staff, String servicenum, String starttime, String finishtime, String explain) {
        this.projectname = projectname;
        this.info = info;
        this.customer = customer;
        this.staff = staff;
        this.servicenum = servicenum;
        this.starttime = starttime;
        this.finishtime = finishtime;
        this.explain = explain;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }

    public void setServicenum(String  servicenum) {
        this.servicenum = servicenum;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public void setFinishtime(String finishtime) {
        this.finishtime = finishtime;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getProjectname() {
        return projectname;
    }

    public String getInfo() {
        return info;
    }

    public String getCustomer() {
        return customer;
    }

    public String getStaff() {
        return staff;
    }

    public String  getServicenum() {
        return servicenum;
    }

    public String getStarttime() {
        return starttime;
    }

    public String getFinishtime() {
        return finishtime;
    }

    public String getExplain() {
        return explain;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    @Override
    public String toString() {
        return "Community{" +
                ", id='" + id + '\'' +
                ", projectname='" + projectname + '\'' +
                ", customer='" + customer + '\'' +
                ", staff='" + staff + '\'' +
                ", servicenum=" + servicenum +
                ", info='" + info + '\'' +
                ", starttime='" + starttime + '\'' +
                ", finishtime='" + finishtime + '\'' +
                ", explain='" + explain + '\'' +
                '}';
    }



}

